﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="add-detailofbusiness.ascx.cs" Inherits="templates_admin_usercontrols_add_detailofbusiness" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<script type="text/javascript"> 
    function Upload()
    {
        document.getElementById('<%= fuHinhAnh.ClientID  %>').click();
    }  
    function Change()
    {
        document.getElementById("field-up_fake").value = document.getElementById('<%= fuHinhAnh.ClientID  %>').value;
    }
</script>

<!-- new box --> 

<div class="box corners shadow">
    <div class="box-header">
        
        <h2>
            <img src="../templates/admin/images/address-book-new.png" style="width:40px; height:40px; margin-top:-10px; position:absolute;" />
            <asp:Label ID="lbTitle" runat="server" Text="Viết bài" style="margin-left:40px"></asp:Label>
        </h2>
        <div class="box-header-ctrls">	
        	<a href="javascript:void(null);" title="" class="close"><!-- --></a>
        </div>

    </div>
    
    <div class="box-content" id="settings-1">
        
         <div class="inbox-sf">                                   
            <asp:DropDownList ID="DropDownList1" runat="server" CssClass="select-1" style="width:230px">
                <asp:ListItem>-- Chọn lĩnh vực --</asp:ListItem>
                <asp:ListItem>Cung ứng thiết bị</asp:ListItem>
                <asp:ListItem>Sản xuất</asp:ListItem>
                <asp:ListItem>Đầu tư xây dựng cơ bản</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList ID="DropDownList2" runat="server" CssClass="select-1" style="width:230px">
                <asp:ListItem>-- Chọn danh mục --</asp:ListItem>
                <asp:ListItem>Giới thiệu</asp:ListItem>
                <asp:ListItem>Hồ sơ năng lực</asp:ListItem>
                <asp:ListItem>Kêu gọi đầu tư</asp:ListItem>
            </asp:DropDownList>                                   
            <div class="fileinputs" style="margin-bottom:20px;">
                <asp:FileUpload ID="fuHinhAnh" onchange="Change();" CssClass="file"  runat="server" title="Upload" name="imgfile" style="opacity: 0; background:#fff"/>
                <div class="fakefile">
                    <input id="Text1" type="text" value="">                                                                                               
                    <asp:Button ID="btnChonHinh" CssClass="button_button" OnClientClick="Upload();"  runat="server" Text="Chọn hình" />                                                
                </div>                                                                              
            </div>
            <div class="form-upload-msg-1" style="margin-top:40px; margin-left:-300px">Max size 20Mb</div>            
            <div class="pages-admod-box-2" style="border:none; height:30px; padding-top:0px; margin-left:-63px"><asp:TextBox runat="server" ID="dpkNgayVietVn" class="datepicker2" />  </div>                                                        
        </div>
        
        <div class="tabs-wrapper-hori">
            <!-- the tabs/links -->
            <ul class="tabs-ctrls-hori">
                <li><a href="#tabs-1">Tiếng Việt</a></li>
                <li><a href="#tabs-2">Tiếng Anh</a></li>
      

                <li class="help"><a href="#tabs-4">?</a></li>
            </ul>
          <!-- tab 1 -->
            <div id="tabs-1" class="tab-1">
                                              
                    <div class="pages-head-2" style="width:915px">                        
                        <h2>Tóm tắt</h2>
                        <asp:TextBox ID="txtInfo" runat="server" CssClass="input-1" TextMode="MultiLine" Height="70px"></asp:TextBox>        
                        <a href="#" class="preview-pages-btn-2 tip" title="Xem trước bài viết">Xem</a>
                    </div>
                    <div class="pages-editor-2" style="width:656px">
                       <div style="width:656px; border:1px solid #cecece">
                            <FCKeditorV2:FCKeditor 
                                ID="fckNoiDungVn" runat="server" Height="400px" Width="656px" BasePath="~/editor/fckeditor/">
                            </FCKeditorV2:FCKeditor>
                       </div>	
                    </div>

                    <div class="pages-admod-box-2" style="height:auto">                                            
                                                
                        <label for="tags">Từ khóa</label>
                        <asp:TextBox ID="txtTags" runat="server" CssClass="input-1"></asp:TextBox> 
                               
                        <label for="cats">Tác giả, Nguồn tin</label>
                        <asp:TextBox ID="txtAuthor" runat="server" CssClass="input-1"></asp:TextBox>                                                
                        
                        <label for="select-save">Bình luận</label>
                        <asp:DropDownList ID="ddlComment" runat="server" CssClass="select-1">
                            <asp:ListItem>-- Chọn bình luận --</asp:ListItem>
                            <asp:ListItem>Cho phép bình luận</asp:ListItem>
                            <asp:ListItem>Không cho phép bình luận</asp:ListItem>
                        </asp:DropDownList>       
                        
                        <label for="select-save">Tin nổi bật</label>
                        <asp:DropDownList ID="ddlNewsHot" runat="server" CssClass="select-1">
                            <asp:ListItem>-- Chọn tin nổi bật --</asp:ListItem>
                            <asp:ListItem>Cho hiện lên tin nổi bật</asp:ListItem>
                            <asp:ListItem>Không cho hiện lên tin nổi bật</asp:ListItem>
                        </asp:DropDownList>
                        
                        <label for="select-save">Trạng thái</label>
                        <asp:DropDownList ID="ddlStatus" runat="server" CssClass="select-1">
                            <asp:ListItem>-- Chọn trạng thái --</asp:ListItem>
                            <asp:ListItem>Đăng bài</asp:ListItem>
                            <asp:ListItem>Chờ duyệt</asp:ListItem>
                        </asp:DropDownList>                                                                                                  
                    </div>                                                                                                              
            </div>
          <!-- tab 2 -->
            <div id="tabs-2" class="tab-1">
                                              
                    <div class="pages-head-2" style="width:915px">
                        <h2>Title</h2>
                        <asp:TextBox ID="txtTitleEn" runat="server" CssClass="input-1"></asp:TextBox>
                        <br /><br />
                        <h2>Info</h2>
                        <asp:TextBox ID="txtInfoEn" runat="server" CssClass="input-1" TextMode="MultiLine" Height="70px"></asp:TextBox>        
                        <a href="#" class="preview-pages-btn-2 tip" title="Preview article">View</a>
                    </div>
                    <div class="pages-editor-2" style="width:656px">
                       <div style="width:656px; border:1px solid #cecece">
                            <FCKeditorV2:FCKeditor 
                                ID="fckNoiDungEn" runat="server" Height="400px" Width="656px" BasePath="~/editor/fckeditor/">
                            </FCKeditorV2:FCKeditor>
                       </div>	
                    </div>

                    <div class="pages-admod-box-2" style="height:auto">                                               
                        
                        <label for="tags">Tags</label>
                        <asp:TextBox ID="txtTagsEn" runat="server" CssClass="input-1"></asp:TextBox> 
                               
                        <label for="cats">Authors and Sources</label>
                        <asp:TextBox ID="txtAuthors" runat="server" CssClass="input-1"></asp:TextBox>                                                 
                        
                        <label for="select-save">Comment</label>
                        <asp:DropDownList ID="ddlCommentEn" runat="server" CssClass="select-1">
                            <asp:ListItem>-- Select comment --</asp:ListItem>
                            <asp:ListItem>Allows comment</asp:ListItem>
                            <asp:ListItem>Not allows comment</asp:ListItem>
                        </asp:DropDownList>       
                        
                        <label for="select-save">News hot</label>
                        <asp:DropDownList ID="ddlNewsHotEn" runat="server" CssClass="select-1">
                            <asp:ListItem>-- Select news host --</asp:ListItem>
                            <asp:ListItem>Show news hot</asp:ListItem>
                            <asp:ListItem>Not show news hot</asp:ListItem>
                        </asp:DropDownList>
                        
                        <label for="select-save">Status</label>
                        <asp:DropDownList ID="ddlStatusEn" runat="server" CssClass="select-1">
                            <asp:ListItem>-- Select status --</asp:ListItem>
                            <asp:ListItem>Post article</asp:ListItem>
                            <asp:ListItem>Wating to check article</asp:ListItem>
                        </asp:DropDownList>                                                                                                
                    </div>                                                                                                              
            </div>
         
          <!-- tab help -->  
            <div id="tabs-4" class="tab-1 help">
                <h2>Hướng dẫn phần đăng tin tức</h2>
                <p>
                Đọc kỹ hướng dẫn trước khi sử dụng
                <p>
                
                </p>
            </div>
           <!-- end tabs -->                        
        </div><!-- END "#tabs-wrapper-1" --> 
         
        <div class="submit-box">
            <input type="reset" name="reset" value="Nhập lại"/>
            <asp:Button ID="btnSave" runat="server" Text="Lưu" />
        </div>
                           
    </div><!-- END ".box-content" --> 
</div><!-- END ".box" -->